package com.icongyou.enterprise.common.result;

import lombok.Data;
import java.util.List;

@Data
public class PageResult<T> {
    private Long total;
    private List<T> list;
    private Integer page;
    private Integer size;

    public PageResult(Long total, List<T> list, Integer page, Integer size) {
        this.total = total;
        this.list = list;
        this.page = page;
        this.size = size;
    }
}